<link href="<?php echo base_url('resources'); ?>/css/admin/styles.css" rel="stylesheet" type="text/css" />
<script language = "javascript" src='<?php echo base_url(); ?>/ckeditor/ckeditor.js' type=”text/javascript”></script>
<div class="detail">
    <form name="editEvent" action="<?php echo base_url('admin/event/updateEvent'); ?>" method="post">
    <?php if(isset($data->MaSuKien)) { ?>
        <input type="hidden" name="id" value="<?php echo $data->MaSuKien; ?>" />
    <?php } ?>
        <label class="eventTitle">Tiêu đề</label> 
        <br />
        <textarea  rows="4" cols="50" style="width: 95%;" class="eventInputTitle" name="title" style="resize: none;"> <?php if(isset($data->TieuDe)) echo $data->TieuDe; ?> </textarea>
        <br />
        <label class="eventSummary">Tóm Tắt</label> 
        <br />
        <textarea  rows="4" cols="50" style="width: 95%;" class="eventInputSummary" name="summary" style="resize: none;"> <?php if(isset($data->MoTa)) echo $data->MoTa; ?> </textarea>
        <br />
        <label class="eventContentLabel">Nội Dung</label> <br />
        <textarea name="content" id="eventContent" ><p><?php if(isset($data->NoiDung)) echo $data->NoiDung; ?></p></textarea>
	       <?php echo display_ckeditor($ckeditor); ?>
        
        <br />
        
        <input type="submit" value="Save"/>
        
    </form>
</div>

